package com.chinaunicom.smartcity.service;

import com.chinaunicom.smartcity.dao.DemoRepository;
import com.chinaunicom.smartcity.dto.Demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by wyt on 2019/7/30.
 */
@Service
public class DemoService {

    @Autowired
    private DemoRepository repository;

    public Demo getOne(String id){
        return repository.getOne(id);
    }
}
